function Currency(id, name, shortname) {

	this.id = id;
	this.name = name;
	this.shortname = shortname;

	this.isSame = function(currency) {
		return currency != null && this.id === currency.id;
	};
};